package com.zjj.pojo;

import java.util.List;

public class Category {
    private Integer id;
    private String name;
    private List<Product2> product2s;

    public List<Product2> getProduct2s() {
        return product2s;
    }

    public void setProduct2s(List<Product2> product2s) {
        this.product2s = product2s;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Category{" +
                "name='" + name + '\'' +
                ", product2s=" + product2s +
                '}';
    }
}
